package com.sxpcwlkj.system.entity.bo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.sxpcwlkj.framework.entity.BaseEntity;
import com.sxpcwlkj.system.entity.SysRole;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Description TODO
 * @Author sxpcwlkj
 * @Version v1.0.0
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AutoMapper(target = SysRole.class)
public class SysRoleBo extends BaseEntity {

    /**
     * 角色ID
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 角色名称
     */
    private String name;

    /**
     * 角色权限字符串
     */
    private String code;

    /**
     * 角色类型
     */
    private Long type;

    /**
     * 默认选中的节点
     */
    private Long[] defChecked;
}
